DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomDataSet Class / Write Method / Write(Byte[],String) Method

The byte array to write dataset to

Specifies the full UID of the transfer syntax with which the file is to be saved when Part 10 format is used. If omitted, the little-endian explicit VR transfer syntax is used.







In This Topic
    Write(Byte[],String) Method
    In This Topic
    Writes dataset to a byte array with specified transfer syntax
    Syntax
    'Declaration
     
    
    Public Overloads Sub Write( _
       ByRef Array() As System.Byte, _
       ByVal TransferSyntax As System.String _
    ) 
    'Usage
     
    
    Dim instance As DicomDataSet
    Dim Array() As System.Byte
    Dim TransferSyntax As System.String
     
    instance.Write(Array, TransferSyntax)
    public void Write( 
       out System.byte[] Array,
       System.string TransferSyntax
    )
    public procedure Write( 
       Out  Array: System.Bytearray of;
        TransferSyntax: System.String
    ); 
    public function Write( 
       Array : System.byte[],
       TransferSyntax : System.String
    );
    public: void Write( 
       [PARAMFLAG::Out] System.byte[]* Array,
       System.string* TransferSyntax
    ) 
    public:
    void Write( 
       [Out] System.array<byte>^ Array,
       System.String^ TransferSyntax
    ) 

    Parameters

    Array

    The byte array to write dataset to

    TransferSyntax

    Specifies the full UID of the transfer syntax with which the file is to be saved when Part 10 format is used. If omitted, the little-endian explicit VR transfer syntax is used.

    Remarks

    Data may subsequently be read by the Read method or by other DICOM software.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also